<template>
  <Swiper>
    <SwiperItem v-for="(item, index) in banner" :key="index">
      <a :href="item.link">
        <img :src="item.image" />
      </a>
    </SwiperItem>
  </Swiper>
</template>
<script>
import { Swiper, SwiperItem } from 'components/common/swiper/index.js'
export default {
  data: () => ({}),
  props: {
    banner: Array
  },
  components: {
    Swiper, SwiperItem
  }
}
</script>
<style scoped>
</style>